﻿using System.Runtime.Serialization;
using CID.Domain.Operations;

namespace CID.Execution.Support.Information
{
    [DataContract]
    public class ServerInfo
    {
        internal ServerInfo() { }

        public ServerInfo(IServer server)
        {
            Name = server.Name;
            Address = server.Address;
        }

        [DataMember]
        public string Name { get; set; }
        
        [DataMember]
        public string Address { get; set; }
    }
}
